class Animal:
    def __init__(self,name,age):
        self.name = name
        self.age = age
    def shout(self):
        pass
class Dog(Animal):
    def __init__(self,name,age):
        super().__init__(name,age)
    def shout(self):
        print(f"{self.name}在汪汪")
class Cat(Animal):
    def __init__(self,name,age):
        super().__init__(name,age)
    def shout(self):
        print(f"{self.name}在喵喵")
class Frog(Animal):
    def __init__(self,name,age):
        super().__init__(name,age)
    def shout(self):
        print(f"{self.name}在哇哇")
if __name__ == '__main__':
    dog =Dog("小狗",3)
    cat = Cat("小猫",5)
    frog = Frog("青蛙",3)
    dog.shout()
    cat.shout()
    frog.shout()